package com.yungu.swift.system.sys.service;

import com.yungu.swift.base.ResponseData;
import com.yungu.swift.base.service.BaseService;
import com.yungu.swift.system.sys.model.dto.SysBusinessCityDto;
import com.yungu.swift.system.sys.model.param.AdminBusinessCityAddParam;
import com.yungu.swift.system.sys.model.vo.BusinessDetailVo;

import java.util.List;
import java.util.Map;


/**
 * SysBusinessCityService
 **/

public interface SysBusinessCityService extends BaseService<SysBusinessCityDto> {

    /**
     * 查询业务详情（业务详情包含开通的资源）
     *
     * @param params 参数
     * @return List
     */
    ResponseData<List<BusinessDetailVo>> getBusinessDetail(Map<String, Object> params);

    /**
     * 新增app城市
     *
     * @param businessCityAddParam 参数
     * @return ResponseData
     */
    ResponseData<Boolean> addAppCity(AdminBusinessCityAddParam businessCityAddParam);

    /**
     * 取消开通城市
     *
     * @param businessUuid 参数
     * @param cityUuid     参数
     * @return ResponseData
     */
    ResponseData<Boolean> removeAppCity(String businessUuid, String cityUuid);
}